package com.bghx.bussiness.service.impl;

import com.bghx.bghxmvc.annotation.Service;
import com.bghx.bussiness.service.UserService;
import com.bghx.bussiness.vo.UserInfo;

@Service
public class UserServiceImpl implements UserService {

	@Override
	public UserInfo getUserInfo() {
		UserInfo userInfo=new UserInfo();
		userInfo.setUsername("bghx");
		userInfo.setAge(10);
		return userInfo;
	}

	@Override
	public boolean checkUserLogin(String username, String password) {
		if (username.equals("bghx")) {
			return true;	
		}else {
			return false;
		}
		
	}

}
